package com.example.demo.controller;

import com.example.demo.core.GlobalStaticer;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/hai")
    public String hai(){
        int count=GlobalStaticer.getInstance().incr();
        return "hai" +count;

    }
}
